﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<EKAABSInformationManagement.Models.LogOnModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户登录 </title>
    <link href="../../Content/Page.css" rel="Stylesheet" type="text/css" />
    <script src="<%: Url.Content("~/Scripts/jquery-1.4.4.min.js") %>" type="text/javascript"></script>
</head>
<body id="loginPage">
    <div id="loginBg">
    <div id="gap">
    </div>
        <h2>
            账号信息</h2>
           <% using (Html.BeginForm())
           { %>
        <%: Html.ValidationSummary(true, "登录失败！请重新填写账号信息。") %>
        <table>       
              <tr>
                 <td class="logintd">
                    <%: Html.LabelFor(m => m.UserName) %>
                 </td>
                 <td class="logintd_input">
                    <%: Html.TextBoxFor(m => m.UserName) %>
                 </td>
                 <td class="logintd">
                    <%: Html.ValidationMessageFor(m => m.UserName) %>
                </td>
              </tr>
              <tr>
                <td class="logintd">
                    <%: Html.LabelFor(m => m.Password) %>
                </td>
                <td class="logintd_input">
                    <%: Html.PasswordFor(m => m.Password) %>
                </td>
                <td class="logintd">
                    <%: Html.ValidationMessageFor(m => m.Password) %>
                </td>
                <td class="logintd">
                    <%: Html.CheckBoxFor(m => m.RememberMe) %>
                    <%: Html.LabelFor(m => m.RememberMe) %>
                </td>
              </tr>                
         </table> 
         <p>
              <input class="loginBtn"; type="submit" ; value="登陆" />
              <input class="loginBtn"; type="reset"  ; value="取消"/>
         </p>  
          <% } %>
      </div>
</body>
</html>
